package com.gycode.vpush.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 发送消息跟用户关系表
 * </p>
 *
 * @author lgy
 * @since 2021-11-01
 */
@Data
@TableName(value = "send_message_user")
public class SendMessageUser {


    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间
     */
    private Date gmtCreate;

    /**
     * 更新时间
     */
    private Date gmtUpdate;

    /**
     * 消息id
     */
    private Long sendMessageId;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 消息发送状态 0-失败 1-成功
     */
    private Boolean status;


}
